﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BhServer
{
    
    [DataContract]
    public class User
    {
        public User(string name)
        {
            Name = name;
            Id = Guid.NewGuid();
        }

        [DataMember]
        public Guid Id
        {
            get;
            private set;
        }
        
        [DataMember]
        public string Name
        {
            get;
            private set;
        }
    }
}
